Remove false const-ification from datetime overrides.
authorrobertlipe <robertlipe@f51c46e8-681c-474f-0cfe-069cfd0219fb>
Mon, 10 Jun 2013 00:59:42 +0000 (00:59 +0000)
committerrobertlipe <robertlipe@f51c46e8-681c-474f-0cfe-069cfd0219fb>
Mon, 10 Jun 2013 00:59:42 +0000 (00:59 +0000)
git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4393 f51c46e8-681c-474f-0cfe-069cfd0219fb

gpsbabel/src/core/datetime.h

index 709da22d415bb18ba329ba8fd8dc8a8cde12b20a..b7f8e1edfed8711690cc14e95a26c31750d37937 100644 (file)
@@ -57,17 +57,17 @@ public:
     return t;
   }
 
-  const time_t operator-- (int)  {
+  time_t operator-- (int)  {
     setTime_t(toTime_t() - 1);
     return this->toTime_t();
   }
 
-  const time_t operator++ (int)  {
+  time_t operator++ (int)  {
     setTime_t(toTime_t() + 1);
     return this->toTime_t();
   }
 
-  const time_t operator+=(const time_t&t) {
+  time_t operator+=(const time_t&t) {
    setTime_t(toTime_t() + t);
     return this->toTime_t();
   }